Skip to contentSkip to conversation

Artifacts in CSGO map de_cache when shader level is "high" or "very high (default)"

Bug 104190 [email protected] 1 participant 9 messages Dec 10, 2017 – Apr 12, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104190

Bug ID: 104190
Summary: Artifacts in CSGO map de_cache when shader level is
"high" or "very high (default)"
Product: Mesa
Version: 17.2
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 136066
--> https://bugs.freedesktop.org/attachment.cgi?id=136066&action=edit
screenshot of artifacts

I posted this bug on the valve github page first. They confirmed it, but asked me to report it here.

https://github.com/ValveSoftware/csgo-osx-linux/issues/1567

Your system information

    System information from steam (Steam -> Help -> System Information) in a

gist:

Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected

Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 1600X Six-Core Processor
CPU Family: 0x17
CPU Model: 0x1
CPU Stepping: 0x1
CPU Type: 0x0
Speed: 3600 Mhz
12 logical processors
6 physical processors
HyperThreading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported

Operating System Version:
Linux 4.x (64 bit)
Kernel Name: Linux
Kernel Version: 4.14.4-1-ARCH
X Server Vendor: The X.Org Foundation
X Server Release: 11905000
X Window Manager: KWin
Steam Runtime Version: steam-runtime-beta-release_2017-07-24

Video Card:
Driver: X.Org Radeon RX 580 Series (AMD POLARIS10 / DRM 3.19.0 / 4.14.4-1-ARCH, LLVM 5.0.0)
Driver Version: 3.0 Mesa 17.2.5
OpenGL Version: 3.0
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 144 Hz
VendorID: 0x1002
DeviceID: 0x67df
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20.91" x 11.77" (23.98" diag)
53.1cm x 29.9cm (60.9cm diag)
Primary VRAM: 8171 MB

Sound card:
Audio device: ATI R6xx HDMI

Memory:
RAM: 16045 Mb

Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Total Hard Disk Space Available: 468427 Mb
Largest Free Hard Disk Block: 413929 Mb
VR Headset: None detected

Recent Failure Reports:

Have you checked for system updates?: Yes and I have tried reinstalling
mesa and xf86-video-amdgpu

Please describe your issue in as much detail as possible:

There are artifacts in the rendered ground (so far I have only seen it on de_cache). Two offset black squares with glitches appear around the player in certain areas.

Steps for reproducing this issue:

Join any game on de_cache
Set shader level to "high" or "very high (default)" Look at artifacts in rendering the ground.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104190

Kristian Nyborg Dahl <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://github.com/ValveSof
                   |                            |tware/csgo-osx-linux/issues
                   |                            |/1567
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104190

--- Comment #1 from Kristian Nyborg Dahl <[email protected]> --- This was kisak-valve's comment on their github:

"Hello @Heis, on my AMD test box, mesa 17.2.6 built against llvm 5.0.0 is affected, while llvm 4.0.1 is not affected.

This should also be brought to the attention of your driver vendor if it has not been already."

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104190

--- Comment #2 from [email protected] ---
I had same issue on my RX480 (bug 103056), but it appears the video card had a dead VRAM chip. Now I'm back to HD7950 with amdgpu kernel driver, and it looks like TAHITI card is not affected.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104190

--- Comment #3 from Tommy Vestermark <[email protected]> --- I can confirm seeing the same artifacts in CSGO on a R9 285 (Tonga) using Ubuntu 17.10 with Mesa 17.3.2, LLVM 5.0 (Padoka Stable PPA).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104190

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Timothy Arceri <[email protected]> --- *** Bug 103056 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104190

--- Comment #5 from Kristian Nyborg Dahl <[email protected]> --- (In reply to Kristian Nyborg Dahl from comment #1)

Quoted 7 lines

This was kisak-valve's comment on their github:

"Hello @Heis, on my AMD test box, mesa 17.2.6 built against llvm 5.0.0 is affected, while llvm 4.0.1 is not affected.

This should also be brought to the attention of your driver vendor if it has not been already."

I just tested with latest available mesa (17.3.7) and llvm (6.0.0.4). Seems to be solved.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104190

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Timothy Arceri <[email protected]> --- (In reply to Kristian Nyborg Dahl from comment #5)

Quoted 11 lines

(In reply to Kristian Nyborg Dahl from comment #1)

Quoted 7 lines

This was kisak-valve's comment on their github:

"Hello @Heis, on my AMD test box, mesa 17.2.6 built against llvm 5.0.0 is affected, while llvm 4.0.1 is not affected.

This should also be brought to the attention of your driver vendor if it has not been already."

I just tested with latest available mesa (17.3.7) and llvm (6.0.0.4). Seems to be solved.

Great! Thanks for retesting.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104190

--- Comment #7 from Gregor Münch <[email protected]> ---
Is it a good idea to close this bug? There seem to be a number of bugs affected by a problem with llvm 5.0. Unfortunatly, LLVM 5.0 series releases no stable builds, so a fix cant be backported there.
I guess it would be also too hard to code somekind of workaround in mesa. Maybe restrict the use of LLVM 5.0 in stable releases?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel